package com.rephilo.consumer.proxy;

import com.rephilo.dubbo.api.HelloService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

/**
 * dubbo服务代理类
 *
 * @author rephilo
 */
@Component
public class HelloServiceProxy {

    @DubboReference(version = "1.0.0", filter = "tpFilter")
    private HelloService helloService;

    public void methodA() {
        helloService.methodA();
    }

    public void methodB() {
        helloService.methodB();
    }

    public void methodC() {
        helloService.methodC();
    }
}
